package com.xiaoshuidi.cloud.module.member.service.questionnaireinfo;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoshuidi.cloud.module.member.mapper.questionnaireinfo.MemberAnswerMapper;
import com.xiaoshuidi.cloud.module.member.pojo.questionnaireinfo.MemberAnswer;
import com.xiaoshuidi.cloud.module.member.repository.MemberAnswerRepository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
@RequiredArgsConstructor
public class MemberAnswerServiceImpl extends ServiceImpl<MemberAnswerMapper, MemberAnswer> implements MemberAnswerService {

    private final MemberAnswerRepository memberAnswerRepository;
    @Override
    public void updateUserId(Long oldUserId, Long userId) {
        memberAnswerRepository.updateUserId(oldUserId,userId);
    }

}
